package com.entity.view;

import com.baomidou.mybatisplus.annotations.TableName;
import com.entity.ChanpinxinxiEntity;
import org.apache.commons.beanutils.BeanUtils;

import java.io.Serializable;
import java.lang.reflect.InvocationTargetException;


/**
 * 农产品信息
 * 后端返回视图实体辅助类
 * （通常后端关联的表或者自定义的字段需要返回使用）
 *
 * @author
 * @email
 * @date 2030-02-14 10:54:18
 */
@TableName("chanpinxinxi")
public class ChanpinxinxiView extends ChanpinxinxiEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    public ChanpinxinxiView() {
    }

    public ChanpinxinxiView(ChanpinxinxiEntity chanpinxinxiEntity) {
        try {
            BeanUtils.copyProperties(this, chanpinxinxiEntity);
        } catch (IllegalAccessException | InvocationTargetException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }

    }

    private String gongyingshangName;
    private String yuanliao;
    private String cangchu;
    private String wuliu;

    public String getWuliu() {
        return wuliu;
    }

    public void setWuliu(String wuliu) {
        this.wuliu = wuliu;
    }

    private String selectshengchansuyuan;

    public String getSelectshengchansuyuan() {
        return selectshengchansuyuan;
    }

    public void setSelectshengchansuyuan(String selectshengchansuyuan) {
        this.selectshengchansuyuan = selectshengchansuyuan;
    }

    public String getCangchu() {
        return cangchu;
    }

    public void setCangchu(String cangchu) {
        this.cangchu = cangchu;
    }

    public String getYuanliao() {
        return yuanliao;
    }

    public void setYuanliao(String yuanliao) {
        this.yuanliao = yuanliao;
    }

    public String getGongyingshangName() {
        return gongyingshangName;
    }

    public void setGongyingshangName(String gongyingshangName) {
        this.gongyingshangName = gongyingshangName;
    }


}
